package utilidades;
import java.io.*;
public class FileUtilities {
	
	public static File createFile(String filename) throws IOException, FileNotFoundException
	{
	
		File file=new File(filename);
		return file;
	
	}
	
	public static void writeFile(File file,String question)
	{
		try{
			
			FileOutputStream fileO= new FileOutputStream(file);
			OutputStreamWriter osw = new OutputStreamWriter(fileO, "UTF-8");
			BufferedWriter bw = new BufferedWriter(osw);
			bw.write(question);
			bw.close();
		}catch(IOException e){};
	}
	

	
	
	
	 

}
